 |
API Documentation
|
|
|
39 Image (
nkMemory::Buffer&& data,
unsigned int width,
unsigned int height,
unsigned int depth,
PIXEL_FORMAT format,
unsigned int pixelOrBlockByteSize = 0,
unsigned int rowByteSize = 0,
unsigned int sliceByteSize = 0) ;
54 Image (
nkMemory::Buffer&& data,
unsigned int width,
unsigned int height,
unsigned int depth,
unsigned int arraySize,
unsigned int mips,
PIXEL_FORMAT format,
unsigned int pixelOrBlockByteSize = 0) ;
Image(nkMemory::Buffer &&data)
virtual unsigned long long getDataByteSize() const override
Image(nkMemory::Buffer &&data, unsigned int width, unsigned int height, unsigned int depth, unsigned int arraySize, unsigned int mips, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0)
Image & operator=(const Image &other)
Image(nkMemory::Buffer &&data, nkMemory::BufferCast< ImageDescriptor > &&images, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize, bool alphaPremultiplied=false, bool cubeMap=false)
const nkMemory::Buffer & getData() const
A buffer holding binary data.
Definition: Buffer.h:32
Base for all image data classes.
Definition: ImageBase.h:19
Encompasses all API of component NilkinsImages.
Definition: BmpEncoder.h:7
Image(nkMemory::Buffer &&data, unsigned int width, unsigned int height, unsigned int depth, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0, unsigned int rowByteSize=0, unsigned int sliceByteSize=0)
PIXEL_FORMAT
Lists formats for pixels.
Definition: PixelFormat.h:16
Holds a Buffer and make it easy to cast the binary data.
Definition: BufferCast.h:18
Image(const Image &other)
virtual unsigned char * getDataPtr() const override
Holds all information required for an image, with ownership over the data.
Definition: Image.h:14